package com.wenbing.miio.mi;

import com.wenbing.miio.core.NetworkStack;

import java.util.List;

/**
 * @author wen bing
 * @projectName: miio
 * @package: com.wenbing.miio.core
 * @className: Device
 * @date 2024/09/20 14:24
 **/
public class Service {
    enum PropertyType {
        BOOL
    }

    public class Property {
        public static final int PERMISSION_READ = 0x01;
        public static final int PERMISSION_WRITE = 0x02;
        public static final int PERMISSION_NOTIFY = 0x04;

        private int piid;
        private String name;
        private PropertyType type;
        private int permission;

    }

    public class Action {
        private int piid;
        private String name;

    }

    private int siid;

    private List<Property> properties;

    private List<Action> actions;

    static {

    }
}
